package day4.HomeWork;

public class Traffic {
    private String type;
    private String color;
    private String brand;

    public Traffic(String type, String color, String brand) {
        this.type = type;
        this.color = color;
        this.brand = brand;
    }

    public Traffic() {
    }
    public void drive(){
        System.out.println("驾使"+type+"去公司");
    }
}
